

<div class="span12">

<form class="form-horizontal" method="post" name="profile"  enctype="multipart/form-data" target="actionfrm" action="/ajax/setedituser">

	<div class="control-group">
		<div class="controls">
			<h4>编辑用户</h4>
		</div>
	</div>

	  <div class="control-group">
	    <label class="control-label" for="">用户名</label>
	    <div class="controls">
	     	<input type="text" value="<?= $this->list[username] ?>" disabled="disabled" />
	    </div>
	  </div>
	  
	  <div class="control-group">
	    <label class="control-label" for="">更改权限</label>
	    <div class="controls">
	     	<select name="groupid">
	     		<?php foreach ($this->group as $value):?>
	     		<option value="<?= $value[id]?>" <?php if ($value[id] == $this->list[groupid]):?>selected<?php endif;?>><?= $value[value]?></option>
	     		<?php endforeach;?>
	     	</select>
	    </div>
	  </div>
	  
	  <div class="control-group">
	    <label class="control-label" for="inputPhone">手机号码</label>
	    <div class="controls">
	    	<input type="text" id="inputPhone" value="<?= $this->list[phone]?>" name="setphone" tabindex="3" />
	    </div>
	  </div>	 
	  
	  <div class="control-group">
	    <label class="control-label" for="inputEmail">E-mail</label>
	    <div class="controls">
	    	<input type="text" id="inputEmail" value="<?= $this->list[email]?>" name="setemail" tabindex="3" />
	    </div>
	  </div>
	  
	  
	  <div class="control-group">
	    <label class="control-label" for="inputPassword">新密码</label>
	    <div class="controls">
	    	<input type="password" id="inputPassword" value="" name="setpassword" tabindex="3" />
	    </div>
	  </div>	

	 

	  <div class="control-group">
	    <div class="controls">
			<button class="btn btn-danger" type="submit" >保存</button>
	    </div>
	  </div>
	  <input type="hidden" value="<?= $this->ref?>" name="ref" />
	  <input type="hidden" value="<?= $this->uid?>" name="uid" />
</form>


</div>
        
        

        

